package org.jsola.hr.provider.impl;

import org.jsola.hr.provider.IBrokerProviderService;
import org.jsola.recruit2.dto.BrokerAddDTO;
import org.jsola.recruit2.service.IBrokerService;
import org.jsola.recruit2.vo.BrokerVO;
import org.jsola.user.core.TokenUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zdd
 */
@Service("BrokerProviderServiceImpl")
public class BrokerProviderServiceImpl implements IBrokerProviderService {
    @Autowired
    private IBrokerService brokerService;

    @Override
    public BrokerVO save(BrokerAddDTO brokerAddDTO, TokenUser tokenUser) {
        return brokerService.saveWithPC(brokerAddDTO,tokenUser);
    }
}